package com.tencent.wxcloudrun.service;

import com.tencent.wxcloudrun.dto.AddAddressRequest;
import com.tencent.wxcloudrun.dto.Address;

import java.util.List;

/**
 * @author lichongbing
 * @version 1.0.0
 * @createdate 2023/3/10 22:35
 * @description: TODO
 */
public interface AddressService {
    int addAddress(Address json);

    List<Address> queryAddress(String openid);

    int deleteAddress(String id);

    Address addressDetail(String id);

    Address defaultAddress(String openid);

    int updateAddress(Address json);
}
